package org.nimi317.web_gis.form.post;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.PastOrPresent;
import lombok.Data;
import org.nimi317.web_gis.Enum.InterpolateEnum;

import java.util.Date;

/**
 * @author thunderobot
 */
@Data
public class InterpolateSearchPost {

    @NotNull
    @PastOrPresent
    private Date time;

    //插值类型
    @NotNull
    private InterpolateEnum type;

    //参数
    @NotNull
    @Valid
    private KrigingPost param;
}
